HTMLify

style.css
Views: 32 | Author: cody
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
* {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    margin: 0;
}

body {
    background-color: #f7fafc;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    height: 380px;
    width: 320px;
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.bottom-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.btn {
    align-items: center;
    background-clip: padding-box;
    background-color: #2563eb;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: 100%;
}

.btn:hover,
.btn:focus {
    background-color: #3b82f6;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    background-color: #1d4ed8;
    box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
    transform: translateY(0);
}

.avatar-container {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

input[type="text"] {
    appearance: none;
    background: #fff;
    background-image: none;
    border: 0.05rem solid #cbd5e1;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    color: #334155;
    display: block;
    font-size: 1rem;
    line-height: 1.5rem;
    max-width: 100%;
    outline: 0;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: all 0.2s;
    width: 100%;
}

input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.1rem #bfdbfe;
}

Comments